package com.yeshine.opendata.controller.front.front;

import com.yeshine.opendata.controller.front.AbstractFrontControllerBase;
import com.yeshine.opendata.entity.AppTheme;
import com.yeshine.opendata.service.IAppThemeService;
import com.yeshine.opendata.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by taohj on 2014/9/9.
 */
@Controller
@RequestMapping("/front/front/apptheme/")
public class APPThemeController extends AbstractFrontControllerBase {

    @Autowired
    private IAppThemeService service;


    @RequestMapping("list")
    public String list() {
        Result<AppTheme> result=service.getList(null);
        setRequestAttr("result",result);
        return  "/front/front/apptheme/list";
    }
}
